<% if stacked_path %>
  <div class="stacked_path">
    <div class="thumbnail_stack">
      <a href="/paths/<%= stacked_path.id %>" onclick="Javascript:BrowsePath(<%=stacked_path.id%>);return false;" class="path_title_link"><img border="0" src="<%=get_first_step_thumbnail(stacked_path) %>" /></a>
    </div>
    <a href="/paths/<%= stacked_path.id %>" onclick="Javascript:BrowsePath(<%=stacked_path.id%>);return false;" onmouseout="this.href='/paths/<%= stacked_path.id%>'" class="path_title_link"><%= stacked_path.title %></a>
    by
    <%= link_to stacked_path.user.login, user_path(stacked_path.user) %>
    <% if show_dates %>
      <%= stacked_path.created_at.strftime("%d %B %y") %>
    <% end %>
  </div>
<% end %>
